Part Number Hot Search : 
CES120J 744223 05N03 1N287 E220A DSW22201 XE0055S2 74LVQ14
Product Description
Full Text Search
 

To Download MLX90316SDCBCG-000TU Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  mlx90316 rotary position sensor ic 3901090316 page 1 of 45 jul/13 rev10 features and benefits  absolute rotary position sensor ic  simple & robust magnetic design  tria ? is? hall technology  programmable angular range up to 360 degrees  programmable linear transfer characteristic  selectable analog (ratiometric), pwm, serial proto col  12 bit angular resolution - 10 bit angular thermal accuracy  40 bit id number  single die ? so8 package rohs compliant  dual die (full redundant) ? tssop16 package rohs c ompliant applications  absolute rotary position sensor  steering wheel position sensor  pedal position sensor  motor-shaft position sensor  throttle position sensor  float-level sensor  ride height position sensor  non-contacting potentiometer ordering code product code temperature code package code option code packing form code mlx90316 s dc bcg-000 re mlx90316 s dc bcg-000 tu mlx90316 e dc bcg-000 re mlx90316 e dc bcg-000 tu mlx90316 k dc bcg-000 re mlx90316 k dc bcg-000 tu mlx90316 l dc bcg-000 re mlx90316 l dc bcg-000 tu mlx90316 e go bcg-000 re mlx90316 e go bcg-000 tu mlx90316 k go bcg-000 re mlx90316 k go bcg-000 tu mlx90316 l go bcg-000 re mlx90316 l go bcg-000 tu mlx90316 k dc bcg-200 re mlx90316 k dc bcg-200 tu mlx90316 k go bcg-200 re mlx90316 k go bcg-200 tu mlx90316 k dc bcg-300 re mlx90316 k dc bcg-300 tu mlx90316 k go bcg-300 re mlx90316 k go bcg-300 tu mlx90316 e dc bdg-100 re mlx90316 e dc bdg-100 tu
mlx90316 rotary position sensor ic 3901090316 page 2 of 45 jul/13 rev10 mlx90316 k dc bdg-100 re mlx90316 k dc bdg-100 tu mlx90316 l dc bdg-100 tu mlx90316 l dc bdg-100 re mlx90316 e go bdg-100 tu mlx90316 e go bdg-100 re mlx90316 k go bdg-100 tu mlx90316 k go bdg-100 re mlx90316 l go bdg-100 tu mlx90316 l go bdg-100 re mlx90316 l go bdg-102 tu mlx90316 l go bdg-102 re mlx90316 l dc bdg-102 tu mlx90316 l dc bdg-102 re mlx90316 l dc bcs-000 tu mlx90316 l dc bcs-000 re legend : temperature code: l for temperature range -40c to 150c e for temperature range -40c to 85c k for temperature range -40c to 125c s for temperature range -20c to 85c package code: dc for soic150 go for tssop173 option code: aaa-xxx: die version xxx-000: standard xxx-100: spi xxx-102: spi75agc, see section 14.4.2 xxx-200: ppa (pre-programmed analog) xxx-300: ppd (pre-programmed digital) packing form: re for reel, tu for tube ordering example: mlx90316kdc-bcg-000-tu
mlx90316 rotary position sensor ic 3901090316 page 3 of 45 jul/13 rev10 1. functional diagram figure 1 - block diagram (analog & pwm) figure 2 - block diagram analog (mlx90316bcs) figure 3 - block diagram (serial protocol) dsp v ss v dd 3v3 reg mux c romf/w ram eep rom vy vx tria    is ? a d d a g rev.pol. & overvolt. o ut (analog/pwm) x1 s witch o ut 14 1 5 12 dsp v ss v dd 3v3 reg mux c rom f/w ram eep rom vy vx tria    is ? a d d a g rev.pol. & overvolt. o ut2 (analog) x1 s witch o ut 1 41 5 12 x1 o ut1 (analog) dsp v ss v dd 3v3 reg mux c romf/w ram eep rom vy vx tria    is ? a d g rev.pol. 1 4 1 5 s erial p rotocol /ss s clk mosi/miso
mlx90316 rotary position sensor ic 3901090316 page 4 of 45 jul/13 rev10 2. description the mlx90316 is a monolithic sensor ic featuring the t ria ? is? hall technology. conventional planar hall technology is only sensitive to the flux density appli ed orthogonally to the ic surface. the tria ? is? hall sensor is also sensitive to the flux density applied para llel to the ic surface. this is obtained through an integrated magneto-concentrator (imc ? ) which is deposited on the cmos die (as an additiona l back-end step). the mlx90316 is only sensitive to the flux density copla nar with the ic surface. this allows the mlx90316 with the correct magnetic circuit to decode the absolute rotary (angular) position from 0 to 360 degrees. it enables the design of novel generation o f non-contacting rotary position sensors that are frequently required for both automotive and industria l applications. in combination with the appropriate signal processing , the magnetic flux density of a small magnet (diametral magnetization) rotating above the ic can be measured in a non-contacting way (figure 4). the angular information is computed from both vectorial co mponents of the flux density (i.e. b x and b y ). mlx90316 produces an output signal proportional to the decoded angle. the output is selectable between analog, pwm and serial protocol. figure 4 - typical application of mlx90316
mlx90316 rotary position sensor ic 3901090316 page 5 of 45 jul/13 rev10 table of contents features and benefits ............................. ................................................... ....................................... 1 applications ...................................... ................................................... ................................................... 1 ordering code??????????????? ????????????????????? ??????....1 1. functional diagram ................................ ................................................... ................................... 3 2. description ....................................... ................................................... ............................................. 5 3. glossary of terms ? ?? ? abbreviations ? ?? ? acronyms ......................................... ................... 8 4. pinout ............................................ ................................................... ................................................... 8 5. absolute maximum ratings .......................... ................................................... .......................... 9 6. detailed description .............................. ................................................... ................................... 9 7. mlx90316 electrical specification ................. ................................................... ................... 11 8. mlx90316 isolation specification .................. ................................................... ..................... 13 9. mlx90316 timing specification ..................... ................................................... ......................... 13 10. mlx90316 accuracy specification ................... ................................................... ................... 14 11. mlx90316 magnetic specification ................... ................................................... .................... 15 12. mlx90316 cpu & memory specification ............... ................................................... ............... 15 13. mlx90316 end-user programmable items .............. ................................................... .......... 16 14. description of end-user programmable items ........ ................................................... ... 17 14.1. o utput m ode .................................................. ................................................... ..................................... 17 14.1.1. analog output mode ...................................... ................................................... ................................... 17 14.1.2. pwm output mode ...................................... ................................................... ...................................... 17 14.1.3. serial protocol output mode ................................ ................................................... ............................ 19 14.1.4. switch out ........................................... ................................................... .............................................. 19 14.2. o utput t ransfer c haracteristic .................................................. ................................................... .. 19 14.2.1. clockwise parameter ................................. ................................................... .................................. 19 14.2.2. discontinuity point (or zero degree point) ............. ................................................... ......................... 19 14.2.3. lnr parameters ...................................... ................................................... .......................................... 20 14.2.4. clamping parameters ............................... ................................................... .................................... 20 14.2.5. deadzone parameter ................................. ................................................... ................................... 21 14.2.6. mlx90316 xdc- bcs only ............................... ................................................... ............................. 21 14.3. i dentification .................................................. ................................................... ................................... 21 14.4. s ensor f ront -e nd .................................................. ................................................... ............................ 22 14.4.1. highspeed parameter ................................ ................................................... ................................... 22 14.4.2. argc, auto_rg, roughgain and forcecra75 parameters ........ ................................................ 22 14.4.3. rgthresl, rgthresh parameters ........................ ................................................... ........................... 23 14.5. filter ............................................ ................................................... ................................................... .. 23 14.5.1. hysteresis filter ................................. ................................................... ............................................... 23 14.5.2. fir filters ....................................... ................................................... .................................................. 23 14.5.3. iir filters ....................................... ................................................... ................................................... 26 14.6. p rogrammable d iagnostic s ettings .................................................. ............................................... 27 14.6.1. resonfault parameter ................................ ................................................... ................................ 26 14.6.2. eehamhole parameter ................................ ................................................... ................................. 26 14.7. l ock ................................................... ................................................... ................................................... 26 14.7.1. mlxlock parameter .................................. ................................................... .................................... 27 14.7.2. lock parameter ..................................... ................................................... ......................................... 27
mlx90316 rotary position sensor ic 3901090316 page 6 of 45 jul/13 rev10 15. mlx90316 self diagnostic .......................... ................................................... ............................. 28 16. serial protocol ................................... ................................................... ..................................... 30 16.1. i ntroduction .................................................. ................................................... .................................... 30 16.2. serial protocol m ode .................................................. ................................................... .............. 30 16.3. mosi (m aster o ut s lave i n ) ................................................. ................................................... ........... 30 16.4. miso (m aster i n s lave o ut ) ................................................. ................................................... ........... 30 16.5. ss (s lave s elect ) ................................................. ................................................... .............................. 30 16.6. m aster s tart -u p .................................................. ................................................... .............................. 30 16.7. s lave s tart -u p .................................................. ................................................... ................................. 30 16.8. t iming .................................................. ................................................... ................................................. 31 16.9. s lave r eset .................................................. ................................................... ....................................... 32 16.10. f rame l ayer .................................................. ................................................... ..................................... 32 16.10.1. command device mechanism ............................ ................................................... ........................... 32 16.10.2. data frame structure ................................ ................................................... ................................... 32 16.10.3. timing.............................................. ................................................... .............................................. 32 16.10.4. data structure ...................................... ................................................... ......................................... 33 16.10.5. angle calculation ................................... ................................................... ....................................... 33 16.10.6. error handling ....................................... ................................................... ....................................... 33 17. recommended application diagrams .................. ................................................... ............. 34 17.1. a nalog o utput w iring with the mlx90316 in soic p ackage .................................................. ..... 34 17.2. a nalog o utput w iring with the mlx90316 in tssop p ackage .................................................. .. 35 17.3. pwm l ow s ide o utput w iring .................................................. ................................................... ....... 35 17.4. s erial p rotocol .................................................. ................................................... ............................... 36 17.4.1. spi version ? single die ............................... ................................................... .................................... 36 17.4.2. spi version ? dual die ............................... ................................................... ...................................... 37 17.4.3. non spi version (standard version)....................... ................................................... .......................... 38 18. standard information regarding manufacturability of melexis products with different soldering processes ................ ................................................... ..................... 39 19. esd precautions ................................... ................................................... ..................................... 39 20. package information .................................................. ................................................... ............. 40 20.1. soic8 - p ackage d imensions .................................................. ................................................... .......... 40 20.2. soic8 - p inout and m arking .................................................. ................................................... .......... 40 20.3. soic8 - imc p ositionning .................................................. ................................................... ................ 41 20.4. tssop16 - p ackage d imensions .................................................. ................................................... ..... 42 20.5. tssop16 - p inout and m arking .................................................. ................................................... ..... 43 20.6. tssop16 - imc p ositionning .................................................. ................................................... ........... 43 21.disclaimer ???????????????????? ????????????????........45
mlx90316 rotary position sensor ic 3901090316 page 7 of 45 jul/13 rev10 3. glossary of terms ? ?? ? abbreviations ? ?? ? acronyms  gauss (g), tesla (t): units for the magnetic flux de nsity ? 1 mt = 10 g  tc: t emperature c oefficient (in ppm/deg.c.)  nc: n ot c onnected  pwm: p ulse w idth m odulation  % dc : d uty c ycle of the output signal i.e. t on /(t on + t off )  adc: a nalog-to- d igital c onverter  dac: d igital-to- a nalog c onverter  lsb: l east s ignificant b it  msb: m ost s ignificant b it  dnl: d ifferential n on- l inearity  inl: i ntegral n on- l inearity  risc: r educed i nstruction s et c omputer  asp: a nalog s ignal p rocessing  dsp: d igital s ignal p rocessing  atan: trigonometric function: arctangent (or inverse tangent)  imc: i ntegrated m agneto- c oncentrator (imc ? )  cordic: co ordinate r otation di gital c omputer (i.e. iterative rectangular-to-polar transform )  emc: e lectro- m agnetic c ompatibility 4. pinout pin# soic8 tssop16 analog/pwm serialprotocol analog/pwm serialprotocol 1 v dd v dd v dig 1 v dig 1 2 test0 test0 v ss 1 (ground 1 ) v ss 1 (ground 1 ) 3 switchout /ss v dd 1 v dd 1 4 notused/out2 (1) sclk test0 1 test0 1 5 out mosi/miso switchout 2 /ss 2 6 test1 test1 notused 2 sclk 2 7 v dig v dig out 2 mosi 2 /miso 2 8 v ss (ground) v ss (ground) test1 2 test1 2 9 v dig 2 v dig 2 10 v ss 2 (ground 2 ) v ss 2 (ground 2 ) 11 v dd 2 v dd 2 12 test0 2 test0 2 13 switchout 1 /ss 1 14 notused 1 sclk 1 15 out 1 mosi 1 /miso 1 16 test1 1 test1 1 for optimal emc behavior, it is recommended to conne ct the unused pins ( notused and test ) to the ground (see section 17). 1 mlx90316xdcbcsincludesaprogrammablesecondout put
mlx90316 rotary position sensor ic 3901090316 page 8 of 45 jul/13 rev10 5. absolute maximum ratings parameter value supplyvoltage,v dd (overvoltage) + 20v reversevoltageprotection ? 10v positiveoutputvoltageCstandardversion (analogorpwm) + 10v + 14v(200smax ? t a = + 25 c) positiveoutputvoltageCspiversion v dd +0.3v positiveoutputvoltage(switchout) + 10v + 14v(200smax ? t a = + 25 c) outputcurrent(i out ) 30ma reverseoutputvoltage ? 0.3v reverseoutputcurrent ? 50ma operatingambienttemperaturerange,t a ? 40c + 150 c storagetemperaturerange,t s ? 40c + 150 c magneticfluxdensity 700mt exceeding the absolute maximum ratings may cause permane nt damage. exposure to absolute- maximum-rated conditions for extended periods may af fect device reliability. 6. detailed description as described on the block diagram (figure 1, figure 2 and figure 3), the magnetic flux density parallel to the ic surface (i.e. b // ) is sensed through the tria ? is? sensor front-end. this front-end consists into two orthogonal pairs (for each of the two directions para llel with the ic surface i.e. x and y) of conventional planar hall plates (blue area on figure 5) and an i ntegrated magneto-concentrator (imc ? yellow disk on figure 5). figure 5 - tria ? is? sensor front-end (4 hall plates + imc ? disk) hall plates
mlx90316 rotary position sensor ic 3901090316 page 9 of 45 jul/13 rev10 both components of the applied flux density b // are measured individually i.e. b x// and b y// . two orthogonal components (respectively b x and b y ) proportional to the parallel components (respectiv ely b x// and b y// ) are induced through the imc and can be measured by both respective pairs of conventional planar hall plates as those are sensitive to the flux density applie d orthogonally to them and the ic surface. while a magnet (diametrically magnetized) rotates ab ove the ic as described on figure 4, the sensing stage provides two differential signals in quadrature (sine and cosine ? figure 6 and figure 7) figure 6 ? magnetic flux density ? b x cos( ) & b y sin( ) figure 7 ? tria ? is? sensor front-end ? output signals ? v x b x cos( ) & v y b y sin( ) -400 -300 -200 -100 0 100 200 300 400 0 90 180 270 360 450 540 630 720 alpha (degree) b x & b y (g) bx by -2000 -1500 -1000 -500 0 500 1000 1500 2000 0 90 180 270 360 450 540 630 720 alpha (degree) v x & v y (mv) vx vy
mlx90316 rotary position sensor ic 3901090316 page 10 of 45 jul/13 rev10 those hall signals are processed through a fully diff erential analog chain featuring the classic offset cancellation technique (hall plate quadrature spinnin g and chopper-stabilized amplifier). the conditioned analog signals are converted through a n adc (configurable ? 14 or 15 bits) and provided to a dsp block for further processing. the dsp stage i s based on a 16 bit risc micro-controller whose primary function is the extraction of the angular posi tion from the two raw signals (after so-called fron t-end compensation steps) through the following operation: ? ?? ? ? ?? ? = x y v v atan the dsp functionality is governed by the micro-code (f irmware ? f/w) of the micro-controller which is stored into the rom (mask programmable). in addition to the atan function, the f/w controls the whole analog chain, the output transfer characteristic, the output protocol, the programming/calibration and also the self-diagnostic modes. in the mlx90316, the atan function is computed via a look-up table (i.e. it is not obtained through a cordic algorithm). due to the fact that the atan operation is performed on the ratio v y /v x , the angular information is intrinsically self-compensated vs. flux density variation s (due to airgap change, thermal or ageing effects) affecting both signals. this feature allows therefore a n improved thermal accuracy vs. rotary position sensor based on conventional linear hall sensors. in addition to the improved thermal accuracy, the r ealized rotary position sensor is capable of measuring a complete revolution (360 degrees) and the linearity pe rformances are excellent taking into account typical manufacturing tolerances (e.g. relative placement betwe en the hall ic and the magnet). once the angular information is computed (over 360 de grees), it is further conditioned (mapped) vs. the target transfer characteristic and it is provided at the output(s) as: ? an analog output level through a 12 bit dac followe d by a buffer ? a digital pwm signal with 12 bit depth (programmabl e frequency 100 hz 1 khz) ? a digital serial protocol (sp ? 14 bits computed angular information available) for instance, the analog output can be programmed fo r offset, gain and clamping to meet any rotary position sensor output transfer characteristic: vout( ) = clamplo for min vout( ) = voffset + gain for min max vout( ) = clamphi for max where voffset, gain, clamplo and clamphi are the mai n adjustable parameters for the end-user. the linear part of the transfer curve can be adjusted t hrough either a 2 point or a 3 point calibration depending on the linearity requirement. a digital output is also available and used as a pr ogrammable angular switch. the calibration parameters are stored in eeprom fea turing a hamming error correction coding (ecc). the programming steps do not require any dedicated pin s. the operation is done using the supply and output nodes of the ic. the programming of the mlx90 316 is handled at both engineering lab and production line levels by the melexis programming unit ptc-04 with the dedicated mlx90316 daughterboard and software tools (dll ? user interface).
mlx90316 rotary position sensor ic 3901090316 page 11 of 45 jul/13 rev10 7. mlx90316 electrical specification dc operating parameters at v dd = 5v (unless otherwise specified) and for t a as specified by the temperature suffix (s, e, k or l). parameter symbol test conditions min typ max units nominalsupplyvoltage v dd 4.5 5 5.5 v supplycurrent (2) idd slowmode (3) fastmode (3) 8.5 13.5 11 16 ma ma porlevel v dd por supplyundervoltage 2 2.7 3 v outputcurrent iout analogoutputmode pwmoutputmode 8 20 8 20 ma ma outputshortcircuitcurrent i short vout=0v vout=5v vout=14v(t a =25c) 12 12 24 15 15 45 ma ma ma outputload r l pulldowntoground pullupto5v (4) 1 1 10 10 (5) (5) k k analogsaturationoutputlevel vsat_lo pulluploadr l 10k 3 %v dd vsat_hi pulldownloadr l 10k 96 %v dd digitalsaturationoutputlevel vsatd_lo pulluplowsider l 10k pushpull(i out =20ma) 1.5 %v dd vsatd_hi pushpull(i out =20ma) 97 %v dd activediagnosticoutputlevel diag_lo pulldownloadr l 10k pulluploadr l 10k 1 1.5 %v dd diag_hi pulldownloadr l 10k pulluploadr l 10k 97 98 %v dd passivediagnosticoutputlevel (brokentrackdiagnostic) (6) bv ss pd brokenv ss (7) & pulldownloadr l 10k 4 (6) %v dd bv ss pu brokenv ss (7) & pulluploadr l 1k 99 100 %v dd bv dd pd brokenv dd (7) & pulldownloadr l 1k 0 1 %v dd bv dd pu brokenv dd & pulluploadto5v nobrokentrackdiagnostic %v dd mlx 90316 electrical specification continues mlx 90316 electrical specification 2 forthedualversion,thesupplycurrentismultipl iedby2 3 seesection14.4.1fordetailsconcerningslowand fastmode 4 applicableforoutputinanalogandpwm(opendrain )modes 5 rl< foroutputinpwmmode 6 fordetailedinformation,seealsosection15 7 notvalidforthespiversion
mlx90316 rotary position sensor ic 3901090316 page 12 of 45 jul/13 rev10 clampedoutputlevel clamp_lo programmable 0 100 %v dd (8) clamp_hi programmable 0 100 %v dd (8) switchout (9) sw_lo pullupload1.5kto5v 0.55 1.1 v sw_hi pullupload1.5kto5v 3.65 4.35 v as an illustration of the previous table, the mlx9031 6 fits the typical classification of the output span described on the figure 8. figure 8 - output span classification 8 clampinglevelsneedtobeconsideredvsthesatura tionoftheoutputstage(seevsat_loandvsat_hi) 9 seesection14.1.4fortheapplicationdiagram diagnosticband(high) linearrange diagnosticband(low) clampinghigh clampinglow 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% 96% 4% output level 92% 88% 12% 8%
mlx90316 rotary position sensor ic 3901090316 page 13 of 45 jul/13 rev10 8. mlx90316 isolation specification dc operating parameters at v dd = 5v (unless otherwise specified) and for t a as specified by the temperature suffix (s, e, k or l). only valid for the package code go i.e. dual die version. parameter symbol test conditions min typ max units isolationresistance between2dies 4 m 9. mlx90316 timing specification dc operating parameters at v dd = 5v (unless otherwise specified) and for t a as specified by the temperature suffix (s, e, k or l). parameter symbol test conditions min typ max units mainclockfrequency ck slowmode (10) fastmode (10) 7 20 mhz mhz samplingrate slowmode (11) fastmode (11) 600 200 s s stepresponsetime ts slowmode (10) ,filter=5 (11) fastmode (10) ,filter=0 (11) 400 4 600 ms s watchdog wd seesection15 5 ms startupcycle tsu slowandfastmode (10) 15 ms analogoutputslewrate c out =42nf c out =100nf 200 100 v/ms pwmfrequency f pwm pwmoutputenabled 100 1000 hz digitaloutputrisetime mode5C10nf,r l =10k mode7C10nf,r l =10k 120 2.2 s s digitaloutputfalltime mode5C10nf,r l =10k mode7C10nf,r l =10k 1.8 1.9 s s 10 seesection14.4.1fordetailsconcerningslowand fastmode 11 seesection14.5fordetailsconcerningfilterpara meter
mlx90316 rotary position sensor ic 3901090316 page 14 of 45 jul/13 rev10 10. mlx90316 accuracy specification dc operating parameters at v dd = 5v (unless otherwise specified) and for t a as specified by the temperature suffix (s, e, k or l). parameter symbol test conditions min typ max units adcresolutionontheraw signalssineandcosine r adc slowmode (12) fastmode (12) 15 14 bits bits thermaloffsetdrift#1 (13) thermaloffsetdriftatthedsp input(excl.dacandoutputstage) temperaturesuffixs,eandk temperaturesuffixl 60 90 +60 +90 lsb 15 lsb 15 thermaloffsetdrift#2 (tobeconsideredonlyforthe analogoutputmode) thermaloffsetdriftofthedac andoutputstage temperaturesuffixs,eandk temperaturesuffixl 0.3 0.4 +0.3 +0.4 %v dd %v dd thermaldriftofsensitivity mismatch (14) temperaturesuffixs,eandk temperaturesuffixl 0.3 0.5 +0.3 +0.5 % % intrinsiclinearityerror (15) le t a =25 c 1 1 deg analogoutputresolution r dac 12bitsdac (theoreticalCnoisefree) inl dnl 4 2 0.025 +4 +2 %v dd /lsb lsb lsb outputstagenoise clampedoutput 0.05 %v dd noisepkpk (16) rg=9,slowmode,filter=5 rg=9,fastmode,filter=0 0.03 0.1 0.06 0.2 deg deg ratiometryerror 0.1 0 0.1 %v dd pwmoutputresolution r pwm 12bits (theoreticalCjitterfree) 0.025 % dc /lsb pwmjitter (17) j pwm rg=6,f pwm =250hzC800hz 0.2 % dc serialprotocoloutput resolution r sp 14bitsC360deg. mapping(theoreticalCjitterfree) 0.022 deg/lsb 12 15bitscorrespondsto14bits+signand14bits correspondsto13bits+sign.afterangularcalcul ation,thiscorrespondsto 0.005deg/lsb 15 inlowspeedmodeand0.01deg/lsb 14 inhighspeed. 13 forinstance,thermaloffsetdrift#1equal60lsb 15 yieldstomax.0.3deg.angularerrorfortheco mputedangular information(outputofthedsp).seefrontendappl icationnoteformoredetails.thisisonlyvalidi fautomaticgainisset(see section14.4.2) 14 for instance, thermal drift of sensitivity mismatch equal 0.4% yields to max. 0.1 deg. angular err or for the computed angularinformation(outputofthedsp).seefront endapplicationnoteformoredetails. 15 theintrinsiclinearityerrorreferstotheicitse lf(offset,sensitivitymismatch,orthogonality)ta kingintoaccountanideal rotatingfield.onceassociatedtoapracticalmagn eticconstructionandtheassociatedmechanicaland magnetictolerances,the outputlinearityerrorincreases.however,itcanb eimprovedwiththemultipointendusercalibratio nthatisavailableonthe mlx90316. 16 the application diagram used is described in the re commended wiring. for detailed information, refer t o section filter in applicationmode(section14.5). 17 jitterisdefinedby3for1000successiveacqu isitionsandtheslopeofthetransfercurveis100 % dc /360deg.
mlx90316 rotary position sensor ic 3901090316 page 15 of 45 jul/13 rev10 11. mlx90316 magnetic specification dc operating parameters at v dd = 5v (unless otherwise specified) and for t a as specified by the temperature suffix (s, e, k or l). parameter symbol test conditions min typ max units magneticfluxdensity b 20 50 70 (18) mt magnettemperaturecoefficient tcm 2400 0 ppm/c 12. mlx90316 cpu & memory specification the dsp is based on a 16 bit risc controller.this cpu provides 5 mips while running at 20 mhz. parameter symbol test conditions min typ max units rom 10 kb ram 256 b eeprom 128 b 18 above70mt,theimcstartssaturatingyieldingto anincreaseofthelinearityerror.
mlx90316 rotary position sensor ic 3901090316 page 16 of 45 jul/13 rev10 13. mlx90316 end-user programmable items parameter comments default values standard spi/ spi75agc ppa ppd #bit outputmode definetheoutputstagemode 4 n/a 4 7 3 mlx90316bcs 2 n/a 2 n/a 3 pwmpol1 pwmpolarity 0 n/a n/a 1 1 pwmt pwmfrequency 1000h n/a n/a 1khz 16 clockwise 0 0 0 1 1 dp discontinuitypoint 0h 0h 0h 0h 15 lnr_s0 initialslope 0h n/a n/a n/a 16 lnr_a_x axcoordinate 8000h 0 0 0 16 lnr_a_y aycoordinate 0h 0% 10% 10% 16 lnr_a_s ascoordinate 0h 100%/360d 80%/360d 80%/360d 16 lnr_b_x bxcoordinate ffffh ffffh ffffh ffffh 16 lnr_b_y bycoordinate 0h ffffh ffffh ffffh 16 lnr_b_s bscoordinate 0h n/a n/a n/a 16 lnr_c_x cxcoordinate ffffh ffffh ffffh ffffh 16 lnr_c_y cycoordinate ffffh ffffh ffffh ffffh 16 lnr_c_s cscoordinate 0h n/a n/a n/a 16 clamp_high clampinghigh 8% 0% 10% 10% 16 clamp_low clampinglow 8% 100% 90% 90% 16 kd switchout ffffh ffffh ffffh ffffh 16 mlx90316bcs 0 n/a ffffh n/a 16 kdhyst hysteresisontheswitchout n/a n/a n/a n/a 8 deadzone 0 0 0 0 8 fhyst 4 0 0 0 8 mlx90316bcs 0 n/a 0 n/a 8 mlxid1/mlxid2/mlxid3 mlx mlx mlx mlx 16 custid1 1 1 1 1 8 custid2 (20) 6 (19) 19/36 16 20 16 custid3 mlx mlx mlx mlx 16 free2 0 0 0 0 8 mlx90316bcs 0 n/a 2ah n/a 16 filter 5 0 2 5 16 filtera1 (20) filtercoefficienta1forfilter=6 6600h n/a n/a n /a 16 filtera2 (20) filtercoefficienta2forfilter=6 2a00h n/a n/a n /a 16 argc autogainatstartup 0 1 1 1 1 mlx90316bcs 0 n/a 1 n/a 1 highspeed 0 1 0 1 1 end-user programmable items continues... 19 formlx90316sdcCbcgCstandard,thecustumerid2para metermightdifferfromthegivenvalue(28dinstea dof6d) 20 notavailableinmlx90316xdcbcs
mlx90316 rotary position sensor ic 3901090316 page 17 of 45 jul/13 rev10 end-user programmable items fswap 1 1 0 1 1 forcecra75 radiusadjustmentto75% 0 0/1 0 0 1 auto_rg automaticroughgainselection 0 1 1 1 1 roughgain 9 0 3 0 8 mlx90316bcs 6 n/a 3 n/a 8 rgthresl 0 0 0 0 4 rgthresh 15 15 15 15 4 eehamhole 3131h 0 0 0 16 resonfault 0 1 1 1 2 mlxlock 0 1 1 1 1 lock 0 1 1 1 1 mlx90316bcs 0 n/a 0 n/a 1 parameter for mlx90316xdc-bcs only out2en 1 n/a 1 n/a 1 out2sloperatio wascustumerid2 n/a n/a 1 n/a 8 out2offset mlx n/a 100% n/a 8 clamp_lowout2 8% n/a 10% n/a 16 clamp_highout2 8% n/a 90% n/a 16 14. description of end-user programmable items 14.1. output mode the mlx90316 output type is defined by the output mo de parameter. parameter value description analogoutputmode 2,4 analograiltorail pwmoutputmode 5 7 lowside(nmos) pushpull serial n/a lowside(nmos) 14.1.1. analog output mode the analog output mode is a rail-to-rail and ratiom etric output with a push-pull output stage configura tion allows the use of a pull-up or pull-down resistor. 14.1.2. pwm output mode if one of the pwm output modes is selected, the output signal is a digital signal with pulse width modulation (pwm). in mode 5, the output stage is an open drain nmos tr ansistor (low side), to be used with a pull-up resistor to v dd . in mode 7, the output stage is a push-pull stage for which melexis recommends the use of a pull-up resistor to v dd . the pwm polarity is selected by the pwmpol1 parameter : ? pwmpol1 = 0 for a low level at 100% ? pwmpol1 = 1 for a high level at 100%
mlx90316 rotary position sensor ic 3901090316 page 18 of 45 jul/13 rev10 the pwm frequency is selected by the pwmt parameter. pwm frequency code (based on typical main clock fre quency) oscillator mode pulse-width modulation frequency (hz) 100 200 500 1000 lowspeed ~35000 ~17500 ~7000 ~3500 highspeed ~50000 ~20000 ~10000 for instance, in low speed mode, set pwmt=7000 (decim al) to set the pwm frequency around 500hz (21) . 14.1.3. serial protocol output mode the mlx90316 features a digital serial protocol mode . the mlx90316 is considered as a slave node. see the dedicated serial protocol section for a full d escription (section 16). 14.1.4. switch out parameter value unit kd 0?359.9999 deg kdhyst 0 1.4 deg the switch is activated (sw_lo) when the digital angl e is greater than the value stored in the kd parameter. this angle refers to the internal angular reference linked to the parameter dp and not to the absolute physical 0 angle. the kdhyst defines the hysteresis amplitude around t he switch point. the switch is actually activated if the digital angle is greater than kd+kdhyst. it is d eactivated if the digital angle is less than kd-kdhyst. the mandatory application diagram to use this feature is depicted in the figure 9. see section 7 for the electrical characteristic. if the switch feature is not used in the application, the output pin needs to be connected to the ground. figure9Capplicationdiagramfortheswitchout 21 in ordertocompensate the lottolotvariation of the mainclock frequency (ck), melexisstrongly re commendstrimmingthe pwmfrequencyduringeolprogramming(seetheptc0 4documentation). switch out 1k5 5 v ecu touc i/o port 125 ? 175 ? 6k ? 100 nf mlx90316
mlx90316 rotary position sensor ic 3901090316 page 19 of 45 jul/13 rev10 14.2. output transfer characteristic parameter value unit clockwise 0  ccw 1  cw dp 0 359.9999 deg lnr_a_x lnr_b_x lnr_c_x 0 359.9999 deg lnr_a_y lnr_b_y lnr_c_y 0 100 % lnr_s0 lnr_a_s lnr_b_s 0 17 %/deg lnr_c_s -17 ? 0 ? 17 %/deg clamp_low 0 100 % clamp_high 0 100 % deadzone 0 359.9999 deg mlx90316 xdc ? bcs only out2 slope ratio -8 ? 0 ? 8 - out2 offset -400 400 % clamp_low out2 0 100 % clamp_high out2 0 100 % 14.2.1. clockwise parameter the clockwise parameter defines the magnet rotation direction. ? ccw is the defined by the 1-4-5-8 pin order directio n for the soic8 package and 1-8-9-16 pin order direction for the tssop16 package. ? cw is defined by the reverse direction: 8-5-4-1 pin order direction for the soic8 and 16-9-8-1 pin order direction for the tssop16 package. refer to the drawing in the imc positioning sections (section 20.3 and 20.6). 14.2.2. discontinuity point (or zero degree point) the discontinuity point defines the 0 point on the circle. the discontinuity point places the origin at any location of the trigonometric circle. the dp is used as reference for all the angular measurements.
mlx90316 rotary position sensor ic 3901090316 page 20 of 45 jul/13 rev10 figure 10 - discontinuity point positioning 14.2.3. lnr parameters the lnr parameters, together with the clamping values, fully define the relation (the transfer function) between the digital angle and the output signal. the shape of the mlx90316 transfer function from the digital angle value to the output voltage is described by the drawing below. six segments can be pr ogrammed but the clamping levels are necessarily flat. two, three, or even five calibration points are the n available, reducing the overall non-linearity of th e ic by almost an order of magnitude each time. three or five point calibration will be preferred by customers looking for excellent non-linearity figures. two-point calibrations will be preferred by customers looking for a cheaper calibration set-up and shorter calibratio n time. a slope lnr_a_s b c slope lnr_b_s slope lnr_c_s slope lnr_s0 360 (deg.) clamping low clamping high lnr_a_x lnr_a_y lnr_b_y lnr_c_y clamphigh clamplow 0 % 100 % 0 lnr_b_x lnr_c_x 14.2.4. clamping parameters the clamping levels are two independent values to li mit the output voltage range. the clamp_low parameter adjusts the minimum output voltage level. t he clamp_high parameter sets the maximum output voltage level. both parameters have 16 bits of adjustment. in analog mode, the resolution will be limited by the d/a converter (12 bits) to 0.024%v dd . in pwm mode, the resolution will be 0.024% dc . in spi mode, the resolution is 14bits or 0.022deg over 3 60deg. 0 360 the placement of the discontinuity point (0 point) is programmable.
mlx90316 rotary position sensor ic 3901090316 page 21 of 45 jul/13 rev10 14.2.5. deadzone parameter the dead zone is defined as the angle window between 0 and 359.9999. when the digital angle lies in this zone, the ic is i n fault mode (resonfault must be set to ?1? ? see 14.6.1). 14.2.6. mlx90316 xdc- bcs only the mlx90316 bcs firmware offers the possibility to p rogram a second output transfer characteristic of the single die version. the following formula is used in the 90316bxs: o ut 2 = o ut 2sloperatio * o ut 1 + o ut 2offset range o ut 2 = [ clamp_low o ut 2..clamp_high o ut 2 ] o ut 2 slope ratio controls the slope ratio o ut 1 vs o ut 2. the ratio can be positive or negative. the example of mlx90316ldc-bcs-ppa is given in the f igure below (slope = -1, o ut2 = -1 x slope o ut1 + 100 %). 14.3. identification parameter value unit melexsid1 melexsid2 melexsid3 0 65535 0 65535 0 65535 custumerid1 custumerid2 custumerid3 0 255 0 65535 0 65535 identification number: 40 bits freely useable by cust omer for traceability purpose. 360 (deg.) 0 o ut 1 o ut 2 output level (%v dd ) 0% 100% 10% 90%
mlx90316 rotary position sensor ic 3901090316 page 22 of 45 jul/13 rev10 14.4. sensor front-end parameter value unit highspeed 0 = slow mode 1 = fast mode argc 0 = disable 1 = enable auto_rg 0 = disable 1 = enable roughgain 0 15 rgthresl 0 15 rgthresh 0 15 14.4.1. highspeed parameter the highspeed parameter defines the main frequency for the dsp. ? highspeed = 0 selects the slow mode with a 7 mhz mas ter clock. ? highspeed = 1 selects the fast mode with a 20 mhz mas ter clock. for better noise performance, the slow mode must be enabled. 14.4.2. argc, auto_rg, roughgain and forcecra75 par ameters auto_rg and argc parameters enable the automatic gai n control (agc) of the analog chain. the agc loop is based on (v x )2+ (v y )2 = (amplitude)2 = (radius)2 and it targets an amplitude of 90% of the adc input span. at start-up phase, the gain stored in the parameter roughgain is always used. depending of the auto_rg and argc settings, the agc regulation acts as follow: ? if argc is set, the regulation proceeds by jump to r each the target gain. note that this regulation is only valid if the starting gain does not saturate the adc. melexis recommendation is to use roughgain 3 if argc=1. ? if argc is ?0? and auto_rg is set to ?1?, the regula tion adapts every cycle by one gain code the current gain to reach the 90% adc span target. note that if the value of roughgain is too far from the actual gain, the chip will enter the norma l operating mode (after the start-up phase) with an incorrect gain which will cause the device to go i n diagnostic low (field too low/field too high ? see section 15). ? if argc and auto_rg are ?0?, the agc regulation is off and the gain used is the value stored in the parameter roughgain. melexis does not advise the u se of this mode. the parameter auto_rg activates the automatic regulati on during normal operation of the device as background task. the parameter forcecra75 modifies the target of the agc algorithm to 75% - instead of 90% - of the adc span (at start-up and in normal operation).
mlx90316 rotary position sensor ic 3901090316 page 23 of 45 jul/13 rev10 melexis strongly recommend to set argc = ?1?, auto_rg = ?1? and roughgain 3 for all types of application. if the magnetic specifications of the a pplication are well known and under control, the appropriate roughgain can also be programmed with ar gc set to ?0? and auto_rg to ?1?. please note that the angular errors listed in the se ction 10 are only valid if the auto_rg is activated. auto_rg avoids also the saturation of the analog chai n and the associated linearity error. the current gain (rg) can be read out with the ptc-0 4 and gives a rough indication of the applied magnetic flux density (amplitude). 14.4.3. rgthresl, rgthresh parameters rgthresl & rgthresh define the boundaries within th e gain setting (rough gain) is allowed to vary. outside this range, the output is set in diagnostic lo w. 14.5. filter parameter value unit fhyst 0 11 ; step 0.04 deg filter 0? 6 fswap 0 1 the mlx90316 includes 3 types of filters: ? hysteresis filter: programmable by the fhyst parameter ? low pass fir filters controlled with the filter parame ter ? low pass iir filter controlled with the filter parame ter and the coefficients filter a1 and filter a2 note: if the parameter fswap is set to ?1?, the filt ering is active on the digital angle. if set to ?0?, the filtering is active on the output transfer function. 14.5.1. hysteresis filter the fhyst parameter is a hysteresis filter. the outpu t value of the ic is not updated when the digital st ep is smaller than the programmed fhyst parameter value . the output value is modified when the increment is bigger than the hysteresis. the hysteresi s filter reduces therefore the resolution to a level compatible with the internal noise of the ic. the hy steresis must be programmed to a value close to the noise level. please note that for the programmable version, the fhyst parameter is set to 4 by default. if you do no t wish this feature, please set it to ?0?. 14.5.2. fir filters the mlx90316 features 6 fir filter modes controlled with filter = 0?5. the transfer function is described below: i n j i i j i i n x a a y ? = = = 0 0 1
mlx90316 rotary position sensor ic 3901090316 page 24 of 45 jul/13 rev10 the characteristics of the filters no 0 to 5 is given in the table 1. filterno(j) 0 1 2 3 4 5 type disable finiteimpulseresponse coefficientsa 0 a 5 n/a 110000 121000 133100 111100 122210 title nofilter extralight light 90%responsetime 1 2 3 4 4 5 99%responsetime 1 2 3 4 4 5 efficiencyrms(db) 0 2.9 4.0 4.7 5.6 6.2 efficiencyp2p(db) 0 2.9 3.6 5.0 6.1 7.0 table 1 - fir filters selection table figure 11 - step response and noise response for fir (no 3) and fhyst=10 fir and hyst filters : step response comparative pl ot 30000 32000 34000 36000 38000 40000 0 5 10 15 20 25 30 milliseconds [0..65535] scale x(n) fir(n) hyst(n) fir and hyst filter : gaussian white noise response 39800 39850 39900 39950 40000 40050 40100 40150 40200 0 50 100 150 milliseconds [0..65535] scale x(n) fir(n) hyst(n)
mlx90316 rotary position sensor ic 3901090316 page 25 of 45 jul/13 rev10 14.5.3. iir filters the iir filter is enabled with filter = 6. the diagram of the iir filter implemented in the mlx90316 is given in figure 12. only the parameter a1 and a2 are configurable (see table 2). figure 12 - iir diagram filterno 6 type 2 nd orderinfiniteimpulseresponse(iir) title medium&strong 90%responsetime 11 16 26 40 52 100 efficiencyrms(db) 9.9 11.4 13.6 15.3 16.2 >20 efficiencyp2p(db) 12.9 14.6 17.1 18.8 20 >20 coefficienta1 26112 28160 29120 30208 31296 31784 coefficienta2 10752 12288 12992 13952 14976 15412 table 2 - iir filter selection table the figure 13 shows the response of the filter to a g aussian noise with default coefficient a1 and a2. z 1 x(n) z 1 z 1 z 1 y(n) b 0 = 1 b 1 = 2 b 2 = 1 -a 1 -a 2
mlx90316 rotary position sensor ic 3901090316 page 26 of 45 jul/13 rev10 figure 13 - noise response for the iir filter 14.6. programmable diagnostic settings parameter value unit resonfault 0 1 eehamhole 0 3131h 14.6.1. resonfault parameter this resonfault parameter enables the soft reset when a fault is detected by the cpu when the parameter is set to 1. by default, the parameter is set to ?0? but it is recommended to set it to ?1? to activate the self diagnostic modes (see section 15). note that in the user interface (mlx90316ui), the re sonfault is split in two bits: ? dresonfault: disable the reset in case of a fault. ? doutinfault: disable output in diagnostic low in case of fault. 14.6.2. eehamhole parameter the eehamhole parameter disables the crc check and th e memory recovery (hamming code) when it is equal to 3131h. melexis strongly recommends to set t he parameter to 0 (enable memory recovery). this is done automatically when using the memlock fu nction. 14.7. lock parameter value unit mlxlock 0 1 lock 0 1 iir filter - gaussian white noise response 39800 39850 39900 39950 40000 40050 40100 40150 40200 0 50 100 150 time [0?65535] scale x(n) y(n)
mlx90316 rotary position sensor ic 3901090316 page 27 of 45 jul/13 rev10 14.7.1. mlxlock parameter mlxlock locks all the parameters set by melexis. 14.7.2. lock parameter lock locks all the parameters set by the user. once t he lock is enabled, it is not possible to change the eeprom values anymore. note that the lock bit should be set by the solver funct ion ?memlock?.
mlx90316 rotary position sensor ic 3901090316 page 28 of 45 jul/13 rev10 15. mlx90316 self diagnostic the mlx90316 provides numerous self-diagnostic feature s. those features increase the robustness of the ic functionality as it will prevent the ic to provide erro neous output signal in case of internal or external f ailure modes (?fail-safe?). action effectonoutputs remark romcrcerroratstartup (64wordsincludingintelligent watchdogiwd) cpureset (22) diagnosticlow (23) alltheoutputsarealready indiagnosticlow(startup) romcrcer ror(operation backgroundtask) enterendlessloop: progress(watchdog acknowledge) setoutputsindiagnosticlow immediate diagnosticlow ramtestfail(startup) cpureset diagnosticlow alltheoutputsarealready indiagnosticlow(startup) calibrationdatacrcerror (startup) hammingcoderecovery start uptimeisincreased by3msifsuccessful recovery hammingcoderecoveryerror (startup) cpureset immediate diagnosticlow see 14.6.2 calibrationdatacrcerror (operationbackground) cpureset immediate diagnosticlow deadzone set outputsindiagnosticlow . normaloperationuntilthedead zoneisleft. immediate diagnosticlow immediaterecoveryifthe deadzoneisleft adcclipping (adcoutputis0000hor 7fffh) set outputsindiagnosticlow normalmodeandcpuresetif recovery immediate diagnosticlow radiusoverflow(>100%) or radiusunderflow (<50%) set outputsindiagnosticlow normalmodeandcpuresetif recovery immediate diagnosticlow (50% 100%) nomagnet/fieldtoohigh seealso14.4.2 finegainclipping (fg<0dor>63d) set outputsindiagnosticlow normalmode,andcpuresetif recovery immediate diagnosticlow roughoffsetclipping (rois<0dor>127d) set outputsindiagnosticlow normalmode,andcpuresetif recovery immediate diagnosticlow roughgainclipping (rg rgthreshigh) setoutputsindiagnosticlow normalmode,andcpuresetif recovery immediate diagnosticlow seealso14.4.2 dacmonitor(digitaltoanalog converter) setoutputsindiagnosticlow. normalmodewithimmediate recoverywithoutcpureset immediate diagnosticlow mlx90316 fault mode continues 22 cpuresetmeans 1. corereset(sameaspoweronreset).itinducesat ypicalstartuptime. 2. peripheryreset(sameaspoweronreset) 3. faultflag/statuslost 4. theresetcanbedisabledbyclearingtheresonfaul tbit(see14.6.1) 23 refertosection7forthediagnosticoutputlevel specifications
mlx90316 rotary position sensor ic 3901090316 page 29 of 45 jul/13 rev10 mlx90316 fault mode faultmode action effectonoutputs remark adcmonitor(analogtodigital converter) setoutputsindiagnosticlow. normalmodewithimmediate recoverywithoutcpureset immediate diagnosticlow adcinputsareshorted undervoltagemode atstartup,waituntilv dd >3v. duringoperation,cpuresetafter 3msdebouncing v dd < porlevel => outputshighimpedance porlevel outputsindiagnosticlow. firmwareflowerror cpureset immediate diagnosticlow intelligentwatchdog (observer) read/writeaccessoutof physicalmemory cpureset immediate diagnosticlow 100%hardwaredetection writeaccesstoprotected area (ioandramwords) cpureset immediate diagnosticlow 100%hardwaredetectio n unauthorizedentryin systemmode cpureset immediate diagnosticlow 100%hardwaredetection v dd >7v setoutputhighimpedance (analog) pulldownresistiveload=> diag.low pullupresistiveload=> diag.high (23) 100%hardwaredetection v dd >9.4v icisswitchedoff(internalsupply) cpuresetonrecovery pulldownresistiveload=> diag.low pullupresistiveload=> diag.high 100%hardwaredetection broken v ss (24) cpureset onrecovery pulldownresistiveload=> diag.low pullupresistiveload=> diag.high 100%hardwaredetection. pulldownload 10kto meetdiaglowspec: <2%v dd (temperature suffixsande) <4%v dd (temperature suffixk) contactmelexisfor temperaturesuffixl brokenv dd (24) cpureset onrecovery pulldownresistiveload=> diag.low pullupresistiveload=> diag.high novaliddiagnosticfor v pullup =v dd . pullupload( 10k)to v pullup >8vtomeetdiag hispec>96%vdd. 24 notvalidforspiversion
mlx90316 rotary position sensor ic 3901090316 page 30 of 45 jul/13 rev10 16. serial protocol 16.1. introduction the mlx90316 features a digital serial protocol mode . the mlx90316 is considered as a slave node. the serial protocol of the mlx90316 is a three wires p rotocol (/ss, sclk, mosi-miso): ? /ss pin is a 5 v tolerant digital input ? sclk pin is a 5 v tolerant digital input ? mosi-miso pin is a 5 v tolerant open drain digital input/output the basic knowledge of the standard spi specification is required for the good understanding of the present section. 16.2. serial protocol mode ? cpha = 1  even clock changes are used to sample the data ? cpol = 0  active-hi clock the positive going edge shifts a bit to the slave?s out put stage and the negative going edge samples the bit at the master?s input stage. 16.3. mosi (master out slave in) the master sends a command to the slave to get the a ngle information. 16.4. miso (master in slave out) the miso of the slave is an open-collector stage. due to the capacitive load (tbd) a >1 k pull-up is used for the recessive high level (in fast mode). note th at mosi and miso use the same physical pin of the mlx90316. 16.5. /ss (slave select) the /ss pin enables a frame transfer (if cpha = 1). i t allows a re-synchronization between slave and master in case of communication error. 16.6. master start-up /ss, sclk, miso can be undefined during the master start-up as long as the slave is re-synchronized before the first frame transfer. 16.7. slave start-up the slave start-up (after power-up or an internal f ailure) takes 16 ms. within this time /ss and sclk i s ignored by the slave. the first frame can therefore be sent after 16 ms. miso is hi-z (i.e. hi-impedance) until the slave is selected by its /ss input. mlx90316 will cope with any signal from the master while starting up.
mlx90316 rotary position sensor ic 3901090316 page 31 of 45 jul/13 rev10 16.8. timing to synchronize communication, the master deactivates /s s high for at least t5 (1.5 ms). in this case, the slave will be ready to receive a new frame. the maste r can re-synchronize at any time, even in the middle of a byte transfer. note: any time shorter than t5 leads to an undefined frame state, because the slave may or may not have seen /ss inactive. timings min (25) max remarks t1 2.3s/6.9s nocapacitiveloadonmiso . t1 is the minimum clock period for any bitswithinabyte. t2 12.5s/37.5s t2theminimumtimebetweenanyother byte t4 2.3s/6.9s time between last clock and /ss=high=chipdeselection t5 300s/1500s minimum /ss = hi time where its guaranteed that a frame re synchronizationswillbestarted. t5 0s maximum /ss = hi time where its guaranteed that no frame re synchronizationswillbestarted. t6 2.3s/6.9s the time t6 defines the minimum time between/ss=loandthefirstclockedge t7 15s/45s t7istheminimumtimebetweenthe startbyteandthebyte0 t9 <1s maximumtimebetween/ss = hi and misobushighimpedance t startup <10ms/16ms minimumtimebetweenreset inactiv e andanymastersignalchange 25 timingsshownforoscillatorbasefrequencyof20m hz(fastmode)/7mhz(slowmode) sclk mosi/ miso /ss t6 t1 t7 t2 t4 t9 t5 2 startbytes byte 0 byte 1 byte 2 byte 7 t1 t1 t1 t1
mlx90316 rotary position sensor ic 3901090316 page 32 of 45 jul/13 rev10 16.9. slave reset on internal soft failures the slave resets after 1 sec ond or after an (error) frame is sent. on internal ha rd failures the slave resets itself. in that case, the se rial protocol will not come up. the serial protocol l ink is enabled only after the completion of the first synchr onization (the master deactivates /ss for at least t5) . 16.10. frame layer 16.10.1. command device mechanism before each transmission of a data frame, the master sh ould send a byte aah to enable a frame transfer. the latch point for the angle measurement is at the last clock before the first data frame byte. 16.10.2. data frame structure a data frame consists of 10 bytes: ? 2 start bytes (aah followed by ffh) ? 2 data bytes (data16 ? most significant byte first) ? 2 inverted data bytes (/data16 - most significant by te first) ? 4 all-hi bytes the master should send aah (55h in case of inverting tra nsistor) followed by 9 bytes ffh. the slave will answer with two bytes ffh followed by 4 data bytes an d 4 bytes ffh. 16.10.3. timing there are no timing limits for frames: a frame tran smission could be initiated at any time. there is no int er- frame time defined. /ss sclk aa ff ff ff ff ff ff ff ff ff aa ff ff d a t a ff ff ff ff ff mosi miso timing diagram ff ff ff d latch point
mlx90316 rotary position sensor ic 3901090316 page 33 of 45 jul/13 rev10 16.10.4. data structure the data16 could be a valid angle, or an error cond ition. the two meanings are distinguished by the lsb. data16: angle a[13:0] with (angle span)/2 14 most significant byte less significant byte msb lsb msb lsb a13 a12 a11 a10 a9 a8 a7 a6 a5 a4 a3 a2 a1 a0 0 1 data16: error most significant byte less significant byte msb lsb msb lsb e15 e14 e13 e12 e11 e10 e9 e8 e7 e6 e5 e4 e3 e2 e1 e0 bit name e0 0 e1 1 e2 f_adcmonitor adc failure e3 f_adcsatura adc saturation (electrical failure or f ield too strong) e4 f_rgtoolow analog gain below trimmed threshold (likely reason : field too weak) e5 f_magtoolow magnetic field too weak e6 f_magtoohigh magnetic field too strong e7 f_rgtoohigh analog gain above trimmed threshold (likely reason : field too strong) e8 f_fgclamp never occurring in serial protocol e9 f_roclamp analog chain rough offset compensation : clipping e10 f_mt7v device supply v dd greater than 7v e11 - e12 - e13 - e14 f_dacmonitor never occurring in serial protocol e15 - 16.10.5. angle calculation all communication timing is independent (asynchrono us) of the angle data processing. the angle is calculated continuously by the slave: ? slow mode: every 1.5 ms at most. ? fast mode: every 350 s at most. the last angle calculated is hold to be read by the master at any time. only valid angles are transfer red by the slave, because any internal failure of the slav e will lead to a soft reset. 16.10.6. error handling in case of any errors listed in section 16.10.4, th e serial protocol will be initialized and the error condition can be read by the master. the slave will perform a soft reset once the error frame is sent. in case of any other errors (rom crc error, eeprom crc error, ram check error, intelligent watchdog error?) the slave?s serial protocol is not initiali zed. the mosi/miso pin will stay hi-impedant (no er ror frames are sent).
mlx90316 rotary position sensor ic 3901090316 page 34 of 45 jul/13 rev10 17. recommended application diagrams 17.1. analog output wiring with the mlx90316 in soi c package figure 14 ? recommended wiring for the mlx90316 in soic8 package (26) . figure 15 ? recommended wiring for the mlx90316 in soic8 package ? ?bcs? version. 26 seesection14.1.4iftheswitchoutputfeatureis used. c2 100nf mlx90316 vdd notused test 2 vss 1 test 1 vdig switch out out1 8 4 5 c1 100nf c3 100nf vdd gnd output 5 v ecu r1 10k c4 4.7nf adc c2 mlx90316 v dd o ut2 t est2 v ss 1 t est1 v dig switch out o ut1 8 4 5 c1 c3 v dd gnd o ut1 5 v ecu adc o ut2 c4 c1, c2, c3, c4: 100nf bcs
mlx90316 rotary position sensor ic 3901090316 page 35 of 45 jul/13 rev10 17.2. analog output wiring with the mlx90316 in tss op package figure 16 ? recommended wiring for the mlx90316 in tssop16 package (dual die). 17.3. pwm low side output wiring figure 17 ? recommended wiring for a pwm low side o utput configuration (27) . 27 seesection14.1.4iftheswitchoutputfeatureis used. ecu vdd1 vdd2 gnd1 gnd1 gnd2 vdd1 vss1 1 out2 vdig1 out1 vss2 16 8 9 mlx90316 vdd2 vdig2 c1 100nf c2 100nf c3 100nf c6 100nf c4 100nf c5 100nf vdd1 gnd1 output1 vdd2 gnd2 output2 adc r1 10k c7 4.7nf r2 10k c8 4.7nf gnd2 c2 100nf mlx90316 vdd notused test 2 vss 1 test 1 vdig switch out pwm 8 4 5 c1 100nf c3 4.7nf vdd gnd output 5 v ecu r1 1k c4 4.7nf timer 5 v
mlx90316 rotary position sensor ic 3901090316 page 36 of 45 jul/13 rev10 17.4. serial protocol generic schematics for single slave and dual slave applications are described. 17.4.1. spi version ? single die figure 18 ? mlx90316 spi version ? single die ? app lication diagram c2 100nf mlx90316 vdd sclk test 1 vss 1 test 0 vdig /ss mosi 8 4 5 c1 100nf 3.3v/5v spi master 5 v r2 1k miso mosi sclk _ss gnd vdd _ss sclk mosi
mlx90316 rotary position sensor ic 3901090316 page 37 of 45 jul/13 rev10 17.4.2. spi version ? dual die figure 19 ? mlx90316 spi version ? dual die ? appli cation diagram c2 100nf mlx90316 vdd sclk test 1 vss 1 test 0 vdig /ss mosi 8 4 5 c1 100nf 3.3v/5v spi master 5 v r2 1k miso mosi sclk1 _ss1 gnd vdd _ss1 sclk1 mosi c2 100nf mlx90316 vdd sclk test 1 vss 1 test 0 vdig /ss mosi 8 4 5 c1 100nf sclk2 _ss2 _ss2 sclk2 #1 #2
mlx90316 rotary position sensor ic 3901090316 page 38 of 45 jul/13 rev10 17.4.3. non spi version (standard version) figure 20 ? mlx90316 ? single die ? serial protocol mode applicationtype ctrl supply (v) pull up supply (v) 90316 supply (v) r1() r2() r3() r4() r5() mos type 5v ctrlw/oo.d.w/o3.3v 5v 5v 5v 100 1000 20,000 1000 20,000 bs170 5v ctrlw/oo.d. w/3.3v 5v 3.3v 5v 150 1000 n/a 1000 20,000 bs170 3.3v ctrlw/oo.d. (28) 3.3v 3.3v 5v 150 1000 n/a n/a n/a bs170 5v ctrlw/o.d.w/o3.3v (29) 5v 5v 5v 100 1000 20,000 1000 20,000 n/a 3.3vctrlw/o.d. 3.3v 3.3v 5v 150 1000 n/a n/a n/a n/a table 3 - resistor values for common specific appli cations 28 ctrlw/o.d.:microcontrollerwithopendrainc apability(forinstancenecv850esseries) 29 ctrlw/oo.d.:microcontrollerwithoutopendra incapability(liketitms320seriesoratmelavr ) c2 100nf mlx90316 vdd sclk test 1 vss 1 test 0 vdig /ss mosi 8 4 5 c1 100nf 3.3v/5v spi master 5 v r1 miso mosi sclk _ss gnd vdd _ss mosi r2 r3 r5 r4
mlx90316 rotary position sensor ic 3901090316 page 39 of 45 jul/13 rev10 18. standard information regarding manufacturabili ty of melexis products with different soldering processes our products are classified and qualified regarding soldering technology, solderability and moisture sensitivity level according to following test metho ds: reflow soldering smd?s (s urface m ount d evices) ? ipc/jedec j-std-020 moisture/reflow sensitivity classification for nonh ermetic solid state surface mount devices (classification reflow profiles according to table 5-2) ? eia/jedec jesd22-a113 preconditioning of nonhermetic surface mount device s prior to reliability testing (reflow profiles according to table 2) wave soldering smd?s (s urface m ount d evices) and thd?s (t hrough h ole d evices) ? en60749-20 resistance of plastic- encapsulated smd?s to combin ed effect of moisture and soldering heat ? eia/jedec jesd22-b106 and en60749-15 resistance to soldering temperature for through-hol e mounted devices iron soldering thd?s (t hrough h ole d evices) ? en60749-15 resistance to soldering temperature for through-hol e mounted devices solderability smd?s (s urface m ount d evices) and thd?s (t hrough h ole d evices) ? eia/jedec jesd22-b102 and en60749-21 solderability for all soldering technologies deviating from above mentioned standard conditions (regarding peak temperature, temperature gradient, temperature prof ile etc) additional classification and qualificatio n tests have to be agreed upon with melexis. the application of wave soldering for smd?s is allo wed only after consulting melexis regarding assuran ce of adhesive strength between device and board. melexis recommends reviewing on our web site the ge neral guidelines soldering recommendation ( http://www.melexis.com/quality_soldering.aspx ) as well as trim&form recommendations (http://www.melexis.com/assets/trim-and-form-recomm endations-5565.aspx). melexis is contributing to global environmental con servation by promoting lead free solutions. for more information on qualifications of rohs compliant products (rohs = european directive on t he restriction of the use of certain hazardous substances) please visit the quality page on our website: http://www.melexis.com/quality.aspx 19. esd precautions electronic semiconductor products are sensitive to electro static discharge (esd). always observe electro static discharge control pro cedures whenever handling semiconductor products.
mlx90316 rotary position sensor ic 3901090316 page 40 of 45 jul/13 rev10 20. package information 20.1. soic8 - package dimensions 20.2. soic8 - pinout and marking marking : part number mlx90316 (3 digits) 316 die version (3 digits) m12345 week date code (2 digits) year date code (2 digits) yy ww bcg out2 sclk 1 8 4 5 316bxx m12345 xy-e \ss switch test 0 vdd out mosi/miso test 1 vdig vss top bottom bdg standard spi version bcs bcs version split lot number (optional ) + ?-e? xy-e lot number: ?m? + 5 digits 0.19 0.25 notes: all dimensions are in millimeters (anlges in degree s). * dimension does not include mold flash, protrusion s or gate burrs (shall not exceed 0.15 per side). ** dimension does not include interleads flash or p rotrusion (shall not exceed 0.25 per side). *** dimension does not include dambar protrusion. allowable dambar protrusion shall be 0.08 mm total in excess of the dimension at maximum material conditi on. dambar cannot be located on the lower radius of the foot. 5.80 6.20** 1.27 typ 4.80 4.98* 1.52 1.72 0.100 0.250 1.37 1.57 0.36 0.46*** 3.81 3.99** 0 8 0.41 1.27
mlx90316 rotary position sensor ic 3901090316 page 41 of 45 jul/13 rev10 20.3. soic8 - imc positionning 0.46 +/- 0.06 1.25 1.65 1.96 2.26 1 2 3 4 8 7 6 5 ccw cw cos sin the mlx90316 is an absolute angular position sensor but the linearity error (le ? see section 10) does not include the error linked to the absolute refere nce 0 deg (which can be fixed in the application th rough the discontinuity point ? see 14.2.2). angle detection mlx90316 soic8 1 2 3 4 8 7 6 5 ~ 0 deg.* s n 1 2 3 4 8 7 6 5 s n ~ 90 deg.* 1 2 3 4 8 7 6 5 s n ~ 270 deg.* 1 2 3 4 8 7 6 5 s n ~ 180 deg.* * no absolute reference for the angular information.
mlx90316 rotary position sensor ic 3901090316 page 42 of 45 jul/13 rev10 20.4. tssop16 - package dimensions 0.09 0.20 1.0 dia notes: all dimensions are in millimeters (anlges in degree s). * dimension does not include mold flash, protrusion s or gate burrs (shall not exceed 0.15 per side). ** dimension does not include interleads flash or p rotrusion (shall not exceed 0.25 per side). *** dimension does not include dambar protrusion. a llowable dambar protrusion shall be 0.08 mm total i n excess of the dimension at maximum material condition. dambar cannot be locate d on the lower radius of the foot. 0.20 typ 12 o typ 0.09 min 0.09 min 0.50 0.75 1.0 typ 12 o typ 0 o 8 o 4.90 5.10* 1.1 max 0.05 0.15 0.85 0.95 0.19 0.30*** 6.4 typ 4.30 4.50** 0.65 typ 1.0 1.0
mlx90316 rotary position sensor ic 3901090316 page 43 of 45 jul/13 rev10 20.5. tssop16 - pinout and marking marking : part number mlx90316 (3 digits) 316 die version (3 digits) m12345 lot number: ?m? + 5 digits week date code (2 digits) year date code (2 digits) yy ww bcg vdd_1 sclk_1 test1_1 vss_1 1 test0_1 out _2/mosi/miso_2 vdig_1 _ss_1/ switch_1 out_1/mosi/miso_1 vss_2 16 8 9 316bxg m12345 xy-e test0_2 vdd_2 _ss_2/switch_2 sclk_2 vdig_2 test1_2 bdg standard spi version top bottom xy-e split lot number (optional ) + ?-e? 20.6. tssop16 - imc positionning 0.30 +/- 0.06 1.95 2.45 1.84 2.04 2.76 2.96 1 8 9 16 ccw cw cos 2 cos 1 sin 2 sin 1 die 2 die 1
mlx90316 rotary position sensor ic 3901090316 page 44 of 45 jul/13 rev10 the mlx90316 is an absolute angular position sensor but the linearity error (le ? see section 10) does not include the error linked to the absolute refere nce 0 deg (which can be fixed in the application th rough the discontinuity point ? see 14.2.2). angle detection mlx90316 tssop16 ~ 270 deg.* ~ 90 deg.* 1 8 9 16 die 2 die 1 s n ~ 180 deg.* ~ 0 deg.* 1 8 9 16 die 2 die 1 s n ~ 0 deg.* ~ 180 deg.* 1 8 9 16 die 2 die 1 s n 1 8 9 16 die 2 die 1 s n ~ 90 deg.* ~ 270 deg.* * no absolute reference for the angular information.
mlx90316 rotary position sensor ic 3901090316 page 45 of 45 jul/13 rev10 21. disclaimer devices sold by melexis are covered by the warranty and patent indemnification provisions appearing in its term of sale. melexis makes no warranty, expres s, statutory, implied, or by description regarding the information set forth herein or regarding the freed om of the described devices from patent infringemen t. melexis reserves the right to change specifications and prices at any time and without notice. therefo re, prior to designing this product into a system, it i s necessary to check with melexis for current infor mation. this product is intended for use in normal commerci al applications. applications requiring extended temperature range, unusual environmental requiremen ts, or high reliability applications, such as milit ary, medical life-support or life-sustaining equipment a re specifically not recommended without additional processing by melexis for each application. the information furnished by melexis is believed to be correct and accurate. however, melexis shall no t be liable to recipient or any third party for any d amages, including but not limited to personal injur y, property damage, loss of profits, loss of use, inte rrupt of business or indirect, special incidental o r consequential damages, of any kind, in connection w ith or arising out of the furnishing, performance o r use of the technical data herein. no obligation or liability to recipient or any third party shall ari se or flow out of melexis? rendering of technical or other ser vices. ? 2013 melexis nv. all rights reserved. for the latest version of this document, go to our website at www.melexis.com or for additional information contact melexis direc t: europe, africa, asia: america: phone: +32 1367 0495 phone: +1 248 306 5400 e-mail: sales_europe@melexis.com e-mail: sales_usa @melexis.com iso/ts 16949 and iso14001 certified


▲Up To Search▲   

 
Price & Availability of MLX90316SDCBCG-000TU

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X